package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采集卡通道对象 bus_acquisition_card_channel
 *
 * @author asher
 * @date 2021-12-13
 */
public class BusAcquisitionCardChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通道主键id */
    private Long channelId;

    /** 通道名称 */
    @Excel(name = "通道名称")
    private String name;

    /** 当前值 */
    @Excel(name = "当前值")
    private Long actualValue;

    /** 修正值 */
    @Excel(name = "修正值")
    private Long correctedValue;

    /** 修正公式 */
    @Excel(name = "修正公式")
    private String formula;

    /** 采集卡id */
    @Excel(name = "采集卡id")
    private Long acquisitionCardId;

    /** 通道code */
    @Excel(name = "通道code")
    private String code;

    public void setChannelId(Long channelId)
    {
        this.channelId = channelId;
    }

    public Long getChannelId()
    {
        return channelId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setActualValue(Long actualValue)
    {
        this.actualValue = actualValue;
    }

    public Long getActualValue()
    {
        return actualValue;
    }
    public void setCorrectedValue(Long correctedValue)
    {
        this.correctedValue = correctedValue;
    }

    public Long getCorrectedValue()
    {
        return correctedValue;
    }
    public void setFormula(String formula)
    {
        this.formula = formula;
    }

    public String getFormula()
    {
        return formula;
    }
    public void setAcquisitionCardId(Long acquisitionCardId)
    {
        this.acquisitionCardId = acquisitionCardId;
    }

    public Long getAcquisitionCardId()
    {
        return acquisitionCardId;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("channelId", getChannelId())
                .append("name", getName())
                .append("actualValue", getActualValue())
                .append("correctedValue", getCorrectedValue())
                .append("formula", getFormula())
                .append("acquisitionCardId", getAcquisitionCardId())
                .append("code", getCode())
                .toString();
    }
}